ReactiveList.Move(int, int) method¶
Defined in
Type: ReactiveListReactiveList.Reactive.Collections
Assembly: ReactiveList.Reactive.dll
Applies to
net11.0, net10.0, net47, net471, net472, net48, net481
public void Move(int oldIndex, int newIndex)
View source (opens in a new tab)
Summary: Moves an item from one index to another.
Parameters
| Name | Type | Description |
|---|---|---|
oldIndex | int (opens in a new tab) | The current index of the item. |
newIndex | int (opens in a new tab) | The new index for the item. |
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentOutOfRangeException (opens in a new tab) | Thrown when either index is outside the list. |